package com.hbnu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    @RequestMapping("/{pageName}")//请求参数为restful风格
    public String page(@PathVariable String pageName){
        return "pageName";
    }






}
